SwitchCustomization

data class SwitchCustomization(@ColorRes() textColor: Int?, @FontRes() textFont: Int?, @ColorRes() thumbColor: Int?) : LabelCustomization

Use this class to set the visual style of the ‘allow list’ switch that may appear on a 3DS2 challenge screen. Users can choose to add a merchant to their card issuer’s allow list to ensure they are trusted for future transactions.

Parameters

textColor

Text colour resource reference.

textFont

Text font resource reference.

thumbColor

Switch thumb colour resource reference.

Constructors

SwitchCustomization
Link copied to clipboard
fun SwitchCustomization(@ColorRes() textColor: Int? = null, @FontRes() textFont: Int? = null, @ColorRes() thumbColor: Int? = null)

Properties

textColor
Link copied to clipboard
open override var textColor: Int? = null
Text colour resource reference.
textFont
Link copied to clipboard
open override var textFont: Int? = null
Text font resource reference.
thumbColor
Link copied to clipboard
var thumbColor: Int? = null
Switch thumb colour resource reference.